package com.zhuojy.equity.mall.admin.common.entity.vo.salary;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuojy.equity.mall.admin.common.annotation.ExcelExport;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: TODO
 * @author chen
 * @date 2024/4/11 20:22
 * @version 1.0
 */
@Data
public class TUserArchivesVO implements Serializable {
    private static final long serialVersionUID = -333517898446157707L;

    /**
     * 主键id
     */
    private Long id;
    @ExcelExport(value = "用户姓名",sort = 1)
    private String name;

    private Long userId;

    /**
     * 工号
     */
    @ExcelExport(value = "工号",sort = 2)
    private String workNum;

    /**
     * 手机号
     */
    @ExcelExport(value = "手机号",sort = 3)
    private String phoneNum;
    /**
     * 职位名称
     */
    @ExcelExport(value = "职位名称",sort = 4)
    private String positionName;

    /**
     * 部门名称
     */
    @ExcelExport(value = "部门名称",sort = 5)
    private String deptName;

    /**
     * 身份证号码
     */
    @ExcelExport(value = "身份证号码",sort = 6)
    private String idCard;

    /**
     * 员工状态 1:试用期 2:正式期 3:已离职
     */
    @ExcelExport(value = "员工状态",sort = 7,kv = "1<=>试用期;2<=>正式期;3<=>已离职")
    private Integer employeeStatus;

    /**
     * 基本工资
     */
    @ExcelExport(value = "基本工资",sort = 8)
    private Double wages;

    /**
     * 转正时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelExport(value = "转正时间",sort = 9)
    private Date conversionTime;

    /**
     * 入职时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelExport(value = "入职时间",sort = 10)
    private Date onboardingTime;
}
